//
//  NSError+RWNetError.h
//  RWNetwork
//
//  Created by Ray on 2024/4/25.
//  Copyright © 2024 81SK. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RWNetworkDefines.h"

NS_ASSUME_NONNULL_BEGIN

@interface NSError (RWNetError)

+ (NSError *)rwne_errorWithCode:(RWNetErrorCode)code message:(NSString *)message;

+ (NSError *)rwne_errorWithCode:(RWNetErrorCode)code;

+ (NSError *)rwne_errorWithError:(NSError *)error code:(RWNetErrorCode)code;

@end

NS_ASSUME_NONNULL_END
